Skip to content

fix(id): name the checkpoint field in ChainExt test fixtures (#4522) - #5117

Merged
dezren39 merged 1 commit into
mainfrom
fix/4522-current-main-unblock
Nov 3, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fix/4522-current-main-unblock

Conversation

@dezren39

@dezren39 dezren39 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Summary

Fix the current-main recurrence of #4522: ChainExt gained a checkpoint: Option<SessionCheckpoint> field in the session-checkpoint work (#3794) and the src/ fixtures were updated, but 31 integration-test initializers across 14 files under pkgs/id/tests/ were not. cargo test --all-targets in pkgs/id failed with E0063, and because .#id-web runs the suite in its Nix check phase (doCheck=true, checkType ci-check), the laptop fleet switch stays blocked.

Every affected fixture constructs a non-checkpoint event, so each now names checkpoint: None immediately after its link field — the same shape the src/ fixtures use. Test-only change: 31 insertions, 0 deletions, no production code.

Files: aliases, bridge_poc, chain_properties, cli_documents, content_removal, crash/store, documents, event_store_properties, production_ingest, retention_pruning, search, tag_claims, voiding_properties, voiding_scenarios.

Evidence

  • Before (origin/main bb4624b, cargo test --all-targets --no-run, exit 101): E0063 missing field checkpoint — first wave 15 initializers in chain_properties (3), cli_documents (1), documents (3), production_ingest (2), retention_pruning (4), search (2); cargo cancels pending jobs on error, and a full brace-scan of every ChainExt literal in tests/ plus two more compile waves surfaced the rest (aliases, bridge_poc, content_removal, crash, event_store_properties, tag_claims, voiding_properties, voiding_scenarios) for 31 total.
  • After (this branch, main merged in): cargo test --all-targets --no-run clean under BOTH the default features and the Nix feature set (web,sandbox,world — with web/dist built locally exactly as the Nix preBuild does).
  • The Nov 2 lane note about src/web/routes.rs test-module errors (E0255/E0308/E0277) does not reproduce on current main; the web-feature lib-test target compiles clean.
  • Full-suite execution and nix build .#id-web results are posted on id(chain): integration tests do not compile — ChainExt initializers missing new link field #4522 with the merge/close evidence.

Merge Danger

Door: two-way

Blast Radius: test-only (pkgs/id integration-test fixtures)

Closes #4522 once the nix build proof lands on the issue.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

ChainExt gained a checkpoint: Option<SessionCheckpoint> field in the
session-checkpoint work (#3794); the src/ fixtures were updated but 31
integration-test initializers across 14 files under pkgs/id/tests were
not, so cargo test --all-targets failed with E0063 and the id-web Nix
check phase (doCheck=true, ci-check) failed with it — the laptop switch
blocker tracked by #4522, recurring after PR #4566 fixed the same class
for the link field.

Every affected fixture constructs a non-checkpoint event, so each now
names checkpoint: None after its link field, matching the src/ fixture
shape. Test-only change; no production code touched.
@dezren39
dezren39 requested a review from a team as a code owner November 3, 2026 20:16
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T20:18:19.130136Z 124e910 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 10 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: faeeeeee-9bd9-4d24-b156-79421ccfd0fa
Commits

Reviewing files that changed from the base of the PR and between 3b8d321 and 124e910.

Files selected for processing: 14
  • pkgs/id/tests/aliases.rs
  • pkgs/id/tests/bridge_poc.rs
  • pkgs/id/tests/chain_properties.rs
  • pkgs/id/tests/cli_documents.rs
  • pkgs/id/tests/content_removal.rs
  • pkgs/id/tests/crash/store.rs
  • pkgs/id/tests/documents.rs
  • pkgs/id/tests/event_store_properties.rs
  • pkgs/id/tests/production_ingest.rs
  • pkgs/id/tests/retention_pruning.rs
  • pkgs/id/tests/search.rs
  • pkgs/id/tests/tag_claims.rs
  • pkgs/id/tests/voiding_properties.rs
  • pkgs/id/tests/voiding_scenarios.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

id(chain): integration tests do not compile — ChainExt initializers missing new link field

1 participant